package com.aix.android.framework.util;

import android.content.Context;
import android.util.TypedValue;

public class ViewUtils {
	
	public static int convertDipToPixel(float value, Context context) {
		return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, value, context.getResources().getDisplayMetrics());
	}
}
